<template>
    <div>
        <mt-swipe :auto="3000">
            <mt-swipe-item v-for="item in imgList" :key="item.id">
                <img :src="$http.defaults.baseURL + item" />
            </mt-swipe-item>
        </mt-swipe>
    </div>
</template>
  
<script>
export default {
    props: ['imgList'],
    data() {
        return {
            msg: "1",
        }
    },
    watch: {
        //msg='',
    },
    created() { 
        console.log(this.imgList);
    },
    mounted() { },
    methods: {}
}
</script>
<style lang="scss" scoped>
.mint-swipe {
    height: 500px;
    color: #fff;

    .mint-swipe-items-wrap {
        .mint-swipe-item {
            text-align: center;
        }

        img {
            width: 100%;
            height: 100%;
        }
    }
}
</style>